package com.scproject.scbef.service.study.politicsactivity;

import com.scproject.dto.ResponseDto;
import com.scproject.scbef.pojo.PoliticsBuildActivity;
import org.springframework.web.multipart.MultipartHttpServletRequest;

import javax.servlet.http.HttpServletRequest;

/**
 * @author LNL
 * @date 2021/5/23 10:19
 */
public interface PoliticsActivityService {
    /**
     * 获取所有党建活动
     * @return
     */
    ResponseDto getAllActivities();

    /**
     * 删除活动
     * @param id
     * @return
     */
    ResponseDto deleteActivity(String id);


    /**
     * 添加活动
     * @param request
     * @return
     */
    ResponseDto insertActivity(MultipartHttpServletRequest request);

    /**
     * 修改活动
     * @param request
     * @return
     */
    ResponseDto updateActivity(PoliticsBuildActivity politicsBuildActivity, HttpServletRequest request);

}
